package com.spark.design.builder;

import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
public class GirlFriend {
    private String name;
    private int age;
    private int bust;
    private int waist;
    private int hips;
    private List<String> hobby;
    private String birthday;
    private String address;
    private String mobile;
    private String email;
    private String hairColor;
    private Map<String, String> gift;

    public static void main(String[] args) {
        GirlFriend gf = Builder.of(GirlFriend::new).with(GirlFriend::setName, "小美")
                .with(GirlFriend::setAge, 18).build();
    }
}
